
<UserControl
	x:Class="Goldlight.SampleApplication.Views.Marketing.ContactView"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:bv="clr-namespace:Goldlight.Mvvm.Base.Behaviors;assembly=Goldlight.Mvvm.Base"
	xmlns:vm="clr-namespace:Goldlight.SampleApplication.ViewModels.Marketing"
	xmlns:windows="clr-namespace:System.Windows;assembly=PresentationCore"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<UserControl.Resources>
		<vm:ContactViewModel x:Key="VM"/>
	</UserControl.Resources>
	<Grid DataContext="{StaticResource VM}" ScrollViewer.CanContentScroll="True">
		<ListView
			Background="White"
			ContextMenu="{DynamicResource gridContextMenu}"
			ItemsSource="{Binding Mode=Default, Path=Customers}"
			ScrollViewer.CanContentScroll="True">
			<ListView.Effect>
				<DropShadowEffect RenderingBias="Quality" ShadowDepth="5"/>
			</ListView.Effect>
			<ListView.View>
				<GridView>
					<GridViewColumn Width="200" DisplayMemberBinding="{Binding Name}" Header="{Binding Resources.CustomerName}"/>
					<GridViewColumn Width="180" DisplayMemberBinding="{Binding EmailAddress}" Header="{Binding Resources.EmailAddress}"/>
					<GridViewColumn DisplayMemberBinding="{Binding PhoneNumber}" Header="{Binding Resources.PhoneNumber}"/>
				</GridView>
			</ListView.View>
		</ListView>
	</Grid>
</UserControl>